<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>修改昵称 (慎用!) <button class="btn btn-default btn-return" onclick="javascript:history.back(-1);return false;"><i class="glyphicon glyphicon-share-alt"></i> 返 回</button></h2>
    </div>
    <form action="{:U()}" method="post" class="form">
        <div class="form-item form-group">
            <label class="item-label">原昵称<span class="check-tips"></span></label>
            <div class="controls">
                {$nickname}
            </div>
        </div>
        <div class="form-item form-group">
            <label class="item-label">修改昵称<span class="check-tips"></span></label>
            <div class="controls">
                <input class="text form-control input-large" name="nickname" value="">
            </div>
        </div>
         
        <div class="form-item form-group form-action">
            <input type="hidden" name="id" value="{$id}">
            <button class="btn submit-btn ajax-post btn-success btn-block" id="submit" type="submit" target-form="form">确 定</button>
            <!-- <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button> -->
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('User/index')}');
    </script>
</block>
